<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$Description = __d('', 'Sistema de Ventas');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <?php echo $this->Html->charset('ISO-8859-1'); ?>
  	<title>
  	
  		<?php echo $title_for_layout; ?>
  	</title>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $Description ?>
		
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->css('cake.generic');
		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('script');
		/*echo $this->Html->css('jquery.fancybox-1.3.4');
		echo $this->Html->css('jquery-ui-1.8.4.custom');
		echo $this->Html->css('freeow/freeow');*/
	?>
	<?php
      //Scripts
      /*echo $this->Html->script('auxiliar');
      echo $this->Html->script('/js/jquery/jquery-1.4.2.min.js');
      echo $this->Html->script('/js/jquery/jquery-ui-1.8.4.custom.min.js');
      echo $this->Html->script('/js/jquery/jquery.datepick-es.js');
      echo $this->Html->script('/js/jquery/jquery.autocomplete.min.js');
      echo $this->Html->script('/js/jquery/jquery.jeditable.mini.js');
      echo $this->Html->script('/js/jquery/jquery.freeow.min.js');
      
  
      echo $this->Html->script('/js/fancybox/jquery.easing-1.3.pack.js');
      echo $this->Html->script('/js/fancybox/jquery.fancybox-1.3.4.js');
      echo $this->Html->script('/js/fancybox/jquery.fancybox-1.3.4.pack.js');
      echo $this->Html->script('/js/fancybox/jquery.mousewheel-3.0.4.pack.js');
      //Tiny mce
      echo $this->Html->script('/js/tinymce/jscripts/tiny_mce/tiny_mce.js');*/
    ?>
    
    <?php echo  $scripts_for_layout; ?>
    <script type="text/javascript">
      /*$(document).ready(function(){
         $('#estado_default').effect("shake", {times:3}, 150).delay(3000).slideUp(1000);
         
      tinyMCE.init({
         mode : "textareas",
         theme : "advanced",
         plugins : "table,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,contextmenu",
         theme_advanced_buttons1_add : "fontselect,fontsizeselect",
         theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,zoom,separator,forecolor,backcolor",
         theme_advanced_buttons2_add_before: "cut,copy,paste,separator,search,replace,separator",
         theme_advanced_buttons3_add_before : "tablecontrols,separator",
         theme_advanced_buttons3_add : "emotions,iespell,flash,advhr,separator",
         theme_advanced_toolbar_location : "top",
         theme_advanced_toolbar_align : "left",
         theme_advanced_statusbar_location : "bottom",
         plugin_insertdate_dateFormat : "%Y-%m-%d",
         plugin_insertdate_timeFormat : "%H:%M:%S",
         extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
         external_link_list_url : "example_data/example_link_list.js",
         external_image_list_url : "example_data/example_image_list.js",
         flash_external_list_url : "example_data/example_flash_list.js"
       }); 
      }  
     );*/
  </script>
</head>
<body>
		<div id="container">
			<div id="header">
				</br>
				<!--<h3><?php  echo $this->Html->image('chart.png',array('height' => 40, 'width' => 40, 'ALIGN'=> 'LEFT')); ?>Sistema de Ventas</h3>-->
					
			</div>
			<div id="menu_header">
				</br>	
				 <p >Olvido Clave?  |<?php echo $this->Html->link('Recuperar Clave de Acceso', array('action' => 'recover'));?></p> 
			
			</div>
			
			<div id="content">
			<?php echo $this->Session->flash(); ?>
        		<?php echo $content_for_layout; ?>
      		</div>
	


			


		</div>
		
	
</body>

</html>
